﻿/// <summary>
/// Create a new list item.
/// </summary>
using System.Collections.Generic;
[Microsoft.SharePoint.Linq.ContentTypeAttribute(Name = "Item", Id = "0x01", List = "NewsMain")]
public partial class NewsMainItem 
{
    public string Title { get; set; }
    public string PageTitle { get; set; }
    public string ID { get; set; }
    [Microsoft.SharePoint.Linq.ColumnAttribute(Name = "SubscribeLabel", Storage = "_subscribeLabel", FieldType = "Text")]
    public string SubscribeLabel
    {
        get;
        set;
    }

    [Microsoft.SharePoint.Linq.ColumnAttribute(Name = "SubscribeLink", Storage = "_subscribeLink", FieldType = "Text")]
    public string SubscribeLink
    {
        get;
        set;
    }

    [Microsoft.SharePoint.Linq.ColumnAttribute(Name = "ContactInfo", Storage = "_contactInfo", FieldType = "Note")]
    public string ContactInfo
    {
        get;
        set;
    }

    [Microsoft.SharePoint.Linq.ColumnAttribute(Name = "ViewMoreLabel", Storage = "_viewMoreLabel", FieldType = "Text")]
    public string ViewMoreLabel
    {
        get;
        set;
    }

    [Microsoft.SharePoint.Linq.ColumnAttribute(Name = "MediaQueryTitle", Storage = "_mediaQueryTitle", FieldType = "Text")]
    public string MediaQueryTitle
    {
        get;
        set;
    }

    [Microsoft.SharePoint.Linq.ColumnAttribute(Name = "MediaQueryContent", Storage = "_mediaQueryContent", FieldType = "Note")]
    public string MediaQueryContent
    {
        get;
        set;
    }

    public List<NewsDetailItem> NewsItems { get; set; }
}